import { useState } from 'react'
import { BrowserRouter,useRoutes } from 'react-router-dom'
import './App.css'
import { routes } from './router/router'

function App() {
 
  const Ele=()=>useRoutes(routes)

  return <BrowserRouter>
   <Ele/>
  </BrowserRouter>
}

export default App
